package com.example.child_protection.dto.request.find;

import com.example.child_protection.dto.base.BaseRequestDTO;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * 检测CODE是否重复请求DTO
 * @date 2018-11-1
 * @author Biz
 */
@Getter
@Setter
public class CheckCodeRequestDTO extends BaseRequestDTO {
    /**
     * CODE
     *
     * @mbggenerated
     */
    @NotNull
    private String code;

    public void valid(){

        super.validate( this, new Class[0] );
    }
    public boolean isValidGid() {

        return false;
    }

}
